﻿namespace Batman.Cms.Core.Models.Batman
{
    /// <summary>
    /// Batman 应用信息
    /// </summary>
    public class ApplicationInfo
    {
        public string Id { get; set; }

        public string Name { get; set; }

        public string Address { get; set; }

        public int Port { get; set; }

        public string Schema { get; set; }

        public string GetUrl()
        {
            return $"{Schema}://{Address}:{Port}";
        }
    }
}
